<template>
	<view class="content">
		<view @click="details(1)">
			<view style="width: 750rpx; height: 750rpx;">
				<image src="../../static/image/wo.png" mode="aspectFit"></image>
				<view class="baImg" style="padding-left: 30rpx;">
					<image src="../../static/image/wo.png" mode="aspectFit" class="headImg"></image>
					<text style="display: inline-block;">窝</text>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			details(id){
				uni.navigateTo({
					url: '../details/details',
					success(res) {
						console.log('成功啦',res);
						},
						fail(err) {
						console.log('失败啦',err);
						}
				})
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
	
	.headImg {
		display: inline-block;
		width: 60rpx;
		height: 60rpx;
		padding-left: 30rpx;
	}
	.baImg {
		width: 700rpx;
		height: 200rpx;
		background-image: url(../../static/image/wo.png);
		background-size: 100% 100%;
	}
</style>
